package top.cwk.dubbo.core;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * 
 * <p>Title: MainConfig</p>
 * <p>Description:服务启动类 </p>
 * <p>Company: CHNI</p> 
 * @author 陈维康
 * @date 2017年9月22日
 */

@SpringBootApplication
@MapperScan("top.cwk.dubbo.core.mapper")
public class MainApplication {
	public static void main(String[] args) {
		SpringApplication.run(MainApplication.class, args);
		try {
			System.in.read();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}

